﻿@model Pr0ject0.Models.LoginModel

@{
    ViewBag.Title = "Login";
}

<h2>Login</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>

@using (Html.BeginForm())
{
    <div class="entry">
        @Html.LabelFor(m => m.UserName)
        <div class="textbox">
            @Html.TextBoxFor(m => m.UserName)
        </div>

        <br />
    
        @Html.LabelFor(m => m.Password)
        
        <div class="textbox">
        @Html.PasswordFor(m => m.Password)
        </div>
    </div>
    <br />
    <br />
    
    <input type ="submit" />

    @Html.ValidationSummary()
}
